package com.hcc.gateway.netty.config;

import com.hcc.gateway.netty.route.GatewayRoute;
import com.hcc.gateway.netty.route.RouteDefinition;
import lombok.Data;
import org.springframework.context.annotation.Conditional;

import java.util.List;

/**
 * HccGatewayConfig
 *
 * @author hushengjun
 * @date 2021/12/25
 */
@Data
public class GatewayConfig {

    private Integer bossThreads;
    private Integer workerThreads;
    private String host;
    private Integer port;
    private Integer maxContentLength;
    private List<RouteDefinition> routes;

}
